Consider moving this variable up to the top of the file.  It seems to be the only global (other than pick activity related variables) that is not at the top.