Code for the Android memo app