android backend part 2: buttons and swipes