adds right ids to button