Added Gstatus toggle function