Database added to MainActivity.java