Added clear function bookshopcontroller