Made the bitmask input field commit to the backend on return