Update training-buddypress.php

Adding function for restoring metaboxes.