Adding method to add button to compose window