store the user-entered data in the location fragment