Retains the entered date even after browser refresh