Removes generated buttons