Updates to show sync status on main page
Bug fix in sync status icon
Field name bug fix
Create constants
Merge pull request #710 from bhariharan/smart_sync_sample

Updates to show sync status on main page and some bug fixes