refreshing the ui after update of dates works
there is still a bug when clicking update-button in settings