This app hard-codes the application icon size priorities. It would be better to provide a way to get an icon of an arbitrary size (likely starting with the "next larger" icon size given a requested size, then scaling down). However, we have to take care to preserve caching/performance here.