Fixed Undo/redo of update + some bug fixes

- Implementation of redo is changed. UndoableCommands now has an
abstract method 'redo'
- Add commands now has a boolean to determine if it is in an update
cycle
- fixed minor bug with displaying tasks with tags
- improve searching results (is now sorted in chrono order)