Some cynical people may believe that he knew going into the convention and decided to calculate what course of action to take based on what one make him look the best to the independent voter.
I wonder if that little show of diversity on the question of "G-d" made him look good to independent voters.