Dialog box to select year

Dialog box to select the year that will be persisted on the listview.
And minor fixes.