An aptamer-based and pyrene-labeled fluorescent biosensor for homogeneous detection of potassium ions.