add database and startActivity