private bool IncrementDecrementTime(Key selectedKey) { if (selectedKey == Key.Up) IncrementDecrementTime(true); else if (selectedKey == Key.Down) IncrementDecrementTime(false); else return false; return true; }