Better camera management for activity's lifecycle