Text this: Resource Allocation in a Cognitive Radio System with Imperfect Channel State Estimation