navbar code cleanup
changed duration column type
changed validation for column type
finished duration dates calculation
some code cleanup