adding documentation to the Learning Objective controller

fixing a type in condition action

changing save from chain of 'if's to switch statement