add ability to focus on the currently selected element and fix the label
for the initial resource