Added method to change date in date picker.
Fixed bug with previous commit.
Merged conflicts.