Use common code for application lists.

Change-Id: I5bd45ca22bfaab7ca28b0ba6285b233a75ac87c8