Update RedBean_Prefix.php

Correct code on writer set, this modify have permit addDatabase and selectDatabase to correctly work.