Bug fix. Now, the sub-menu can be closed by clicking itself .