Implemented sorting of task in smart categories. Delete old xml file to avoid crashes.