private async void AppLaunchStatusChanged(AppLaunchStatus status) { Color fromColor; switch (status) { default: case AppLaunchStatus.None: fromColor = Color.White; break; case AppLaunchStatus.CommandSent: fromColor = Color.Yellow; break; case AppLaunchStatus.Failed: fromColor = Color.Red; break; case AppLaunchStatus.Succeeded: fromColor = Color.Green; break; } ViewExtensions.CancelAnimations(this.AppLaunchFrame); await ColorAnimation.ColorTo(this.AppLaunchFrame, fromColor, Color.White, (color) => this.AppLaunchFrame.BackgroundColor = color, 500); }