Audio input device is not set to bluetooth headset after connecting

Hello everyone,
this is my first post here and I am comparitively new in Linux. I recently bought a new bluetooth headset, right after connecting to it the output device is set to the headset automatically but not the input device. I was trying some suggestion over the internet and on arch linux forum I saw about pipewire as a replacement of pulseaudio. I intstalled that too, but no luck. Still same, now when I am trying to switch to pulseaudio, it shows that there are 15+ apps which depends on the pipewire which includes gnome-shell and gnome-layout. Although pipewire is not making any problem but how to fix the audio input issue?