add exit function

It can exit with two back click in 2s