android deployment and Broadcastreceiver fix