added filtering form data refresh-not fully working with next prev buttons