Updated the text editor 

Added the overlay functionality in doInBackground