Optimized settings view; update/delete sql operations for phrase theme