hiding undo or restart buttons if not enabled in game