Added new tab functionality to add button