Fix turning on and off of antenna