written and tested code in the agent that is executed when the user
touch a room in the list view