fix the action bug in androidmanifest and extract startActivity method