Fix open preferences without connecting