Thread killing when game activity implemented and removed memory leak for the broadcast reciever