added the custom date preferences

Change-Id: I63dae4b5bb6dad9a353b507b7d69820690af3eab
Signed-off-by: ShineISP <info@shineisp.com>
Merge branch 'master' of https://github.com/shinesoftware/shineisp

fixed minor bugs