Calling the date picker's action if present

This change will call the date picker's action when modified if an action is present.

I also added a newline to one file, my compilation options are set to error when this is missing so I'm guessing I might not be the only one.