started work on different time range views
fixed bugs with view switching
fixed view button