Preferences implemented, app uses saved ip and port, places user in settings if settigns not set