I've solved this by removing the twitter app from the Applications folder.
And then in ~/Library (the library folder in your home folder) do a search for "twitter" and remove everything related to the app. like com.twitter in preferences folder, caches folder, ...