adding buttons and text edit