Changed time span selection into a view instead of dropdown