Update DatastoreAccess.java

Modified Code to clear old entries