Adds function to save car to SharedPreferences in newCarActivity