public override bool Execute(WindowState state) { var currentState = state.playing; state.SetPlaying(!currentState); return(true); }