Hide the keyboard after press register or post
Add accept function