Added initialize() to solve camrea lockForConfiguration bug.