Fixed the bold/italic status updating.