pencil icon deleted and profile_editing logic improved.