Cannot read property 'getSavedProduct' of null