[IMP]Improved Sync logic and Timer, Sync data should return load_data's result so that client will flush localstorage and replace with new server return data + failed data, Timer should not be lose when page is refreshed and some small bug fixes