added mode to MusicAdapter.java