Fixed issue with multiadding of pagination buttons with every new query + create discreet method private void addButtons()