added buttons for search/add when all queries are pinned

closes #310