fix some navigation issues + use cordova store when on cordova