Add Final Logic for Android App

modify mainActivity