It seems that what causes your symptoms is De Quervain disease.
De Quervain disease is inflammation of the tendons that control movement of the thumb. It often affects those who use their thumbs intensively, such as using thumbs to press buttons of a mobile phone or a device. If you frequently use thumbs to operate mobile phones and have pain at thumb base, it is likely you have De Quervain disease.