replace setting null preference with removeValue
Merge pull request #1167 from sunglim/removeValue

replace setting null preference with removeValue