Handheld electronic device