added showing and hiding of buttons
WIP: edit grade function