Modified the database and models to move break definitions to the tasks and fixed events instead of the preferences.