Tweaks to the code to remove unnecessary views and make view layout more streamlined, Touch detection on background view to dismiss keyboard when using text edit controls