Enable adding and editing custom queries