Riverstone bonus issue

Hi How do I enter data to account for the bonus issue for riverstone which is XB today?
Also how to reflect the price which theoretically has halved due to the 1-1 bonus issue?
The above has affected the P&L since stockscafe assumes the price has plunged by 50% today

In this case, I would suggest to use the stock split function -> https://stocks.cafe/personal/portfolio/transactions/tosplit

Symbol (Old): SGX:AP4
Symbol (New): SGX:AP4
Stock Split Ratio (Old): 1
Stock Split Ratio (New): 2
Stock Split Date: 9 Nov 2020

Another approach would be to add a BUY transaction of the number of bonus shares that you have received for price = 0