Adding middleware to get current selected subperiod
Adding helper to set current subperiod