Problem with variable BOOL