When using time range the "done" button does nothing