Android: Dynamic Layout - Added more robust approach of storing and accessing widget IDs using HashMap