Added functionality in MainActivity.java to test the database and its functions.