Database now refreshed when screen refreshed and after returning from external app