fixed loading spinner bug

bug when clicking on header when date in future is selected - spinner
would not leave again. now headers to sort when date is in future are
not clickable anymore.
fixed another loading spinner bug
added duplicate functionality