Added switch commands to MyTasksLogic