removes all listed apps before adding them again