Added preference line to preferences table sql