Use Cake's caching mechanism
Fix JavaScript error when there's an apostrophe in the task name or category