added check to see if workout has already been completed, runs on view load