For what you need to do (hopefully it is not already too late as you need a minimum of 15 workdays on your current stay permit left in order to apply)
Ckeck the requirements for your intended visa change, on this Immigration website
*** For the “change” from the tourist entry to the Non-Imm-B, cklick number one or number two
*** For the “change” from the tourist entry to the Non-imm-O Retirement visa, click number nine
***********************************************************************