new methon to create ui button
release current ui class before exit