lesson spinner is now automatically refreshed when the user decided to create a student