set buttons on setting gui to correct state on opening screen