update objectAtIndex syntax for 3.2+

This fixes a bug that prevents re-generating the BG once the dynamic button already exists. Adjusting this syntax resolves the issue :)