Database updated if app is installed/removed from phone