Optional delegate methods
Fix delegate bug didShowViewController