Changed picker.show to hide when already open

With this change it is possible to close the datetimepicker on the button it is opened when it's already open.

Short called this is normal toggle behaviour