exit button added

order fixed has still many bugs