Added connectionOptions

Added the gui for selecting connections, and its listener.