Added some functionality to the Send Layer Button