Revert "app: separated expand_prog_item"

This reverts commit a6a1dfea195a226a180c7acd3d81ab6501ab13f6.