Fixed inserting routine exercise

- TODO: get user id correctly
- fixed button OnClicks