Fix some bug in front camera mode;
Add function of taking photo but still have some problems;