updated title state to add button