Fix preferences saving + Add ID column to remote connections