Fixed add image form - gallery add item
Added checking if file exists before deleting (caused errors) - filesystem module