add ui to preferences