Changed storage methods for categories and tasks.