Fixed bug when removing a row.

Check if there is any row selected when clicking btnRemoveHost
Added TODO