If the pen is working but doesn't perform the required actions when you press the top button then you can reconfigure that to personal preference.
- Select Start , search for “ink” and choose Pen and Windows Ink settings
- Scroll down to find the Pen shortcuts section
- Select your preferred settings
Note that each operation displays two settings – the upper setting will be used when your device is in tablet mode, the lower setting will be used in all other cases