Added preferred header table to database and application