You're right.  I did it that way because that variable is duplicated between the main activity and fragment, and needs to be reworked so that it only exists at one level.  It was slightly tricky to do when I was working on the rest of this because it is used at both fragment and activity level, so I just put it off till later :P