add *.userpref to gitignore

Signed-off-by: SButterfly <sbutterfly@outlook.com>
change Time from DateTime to TimeSpan

Signed-off-by: SButterfly <sbutterfly@outlook.com>