Text this: Improved Energy Detector with Weights for Primary User Status Changes in Cognitive Radio Networks