Code is now generalized to more switches than assist and grade. Button is in new class, making code more manageable.