Fixed bug with delete button selector 

When we have two or more classes like "btn btn-danger" we need to replace spaces with "." to work correctly