Changed API, fixed Receive when phone comes back from sleep