correct date view when changing categories