implemented jqueryui buttons and refiltering after page-reload