Declare sync manager with shared preferences