Added some changes to fix adding new workouts