Changed the template for preferences slightly