changed list selection behaviour when deleting resources
fixed line length issue
Merge branch 'resource-deletion-ordering'