Bug 869755 - [Dialer] Cannot delete all logs in call log

Save the type value with safe way.

http://bugzil.la/869755