It's probably dirty or something. You can take it apart to clean it if you're up to it.
BTW, that switch is just a lock. The cup holder should stay in even without using that switch.
BTW, that switch is just a lock. The cup holder should stay in even without using that switch.