Initialization of camera device.
Also ensured that the menu will disconnect/connect properly and avoid
conflicts.