Set app to only perform a full sync the first time it synchronizes with
the database, not every time the app is opened.
Switch "contains" uses to "equalsIgnorecase" so that id is not
considered when looking for the invalid field