Exercise 5 of ID2212 on mobile programming on Android