MainActivity: remove dead code