Configuring remote controls