Checked and modified the web application for fixing the problem encountered when testing it, remove the condition for retaining the previously selected data in the dropdown, and checked it again to see if the changes take effect, as per checking, the previously selected value does not retain in the dropdown, but when clicking search the page still refreshing thus the default (resource) dropdown is returning and the checkbox is unchecked, still checking, on how the search will not return the default dropdown (resource) and remain the dropdown used in searching.