Implemented some unit tests. Tweaked GUI and refactored code.

i think you don't need to worry about it. if we do need to have custom reminder times you should not be aware. let the query engine deal with it.