Added setbookingasactive