checkTitle function added into edit Functions