implemented add note button in MainActivity.java