fix #916
use StringUtils.equals to prevent potential npe
Merge pull request #922 from wordpress-mobile/issue/916-npe-haschanges

fix #916 npe haschanges