Add function create,delete to buttons