New button interaction function