Fixed NPE when creating new workouts and routines