deleted redundant codes in camera activity