Fix how selected array in appslist gets cleared

The table element takes the object, so resetting scope.selected = [] does not work.

Fixes [MLHR-1558](https://malhar.atlassian.net/browse/MLHR-1558)