Determine states change in Cognitive Radio