enabled all the functions except in-app purchase

there are some minor bugs about pendingIntent mechanism