Modify page fixes + bug fixes for modifying routines

fixed some things on the modify page to be consistant with the req. document. You can view exercises for the selected routine

also fixed a bug where you couldn't edit a routine