Made some changes to the wireless listener to improve message reception