added function for repeat exercise to go back to activity