Added toggle for menu bar item depending of the connection status