Update DatabaseManager.java

delay 3 seconds before reading the data from databases