//This method will check if any other toggles and prevent the user from ticking two toggles at once
        private bool CheckToggles(SwitchCell switcher)
        {
            var player = BindingContext as PlayerPosition;

            //Here we will compare if the switch is equal to one of the other switches and if not
            //check if it is currently on. If both are true, it means that there are two switches
            //toggled on so we must return true
            if (!switcher.Equals(switchPitch) && player.Pitcher)
            {
                return(true);
            }

            else if (!switcher.Equals(switchCatcher) && player.Catcher)
            {
                return(true);
            }

            else if (!switcher.Equals(switchSS) && player.SS)
            {
                return(true);
            }

            else if (!switcher.Equals(switchBase1) && player.Base1)
            {
                return(true);
            }

            else if (!switcher.Equals(switchBase2) && player.Base2)
            {
                return(true);
            }

            else if (!switcher.Equals(switchBase3) && player.Base3)
            {
                return(true);
            }

            else if (!switcher.Equals(switchLF) && player.LF)
            {
                return(true);
            }

            else if (!switcher.Equals(switchCF) && player.CF)
            {
                return(true);
            }

            else if (!switcher.Equals(switchRF) && player.RF)
            {
                return(true);
            }

            else if (!switcher.Equals(switchOff) && player.Off)
            {
                return(true);
            }

            return(false);
        }