Fixes text view controller not unregistering itself from notification centre.