Add button to update detector size