adding code to restart android app flow