Added the close keyboard functionality