android: Add convenience methods to get/set selected apps to/from a sorted set