Implemented context menu for exercises.