I'm not in California and don't know their regulations, but I have one bit of advice. Buy quality. The ache of low quality lasts long after the sting of a higher price has disappeared.
I'm not saying HiPoint is low quality. If the quality meets your needs, then the HiPoint will do the trick. Don't buy it simply because it's less expensive though. They seem to be tough enough and reliable enough for beater gun use. Their resale sucks though, and there is no pride of ownership, at least not around other gunnies. I have one friend who keeps a HiPoint in his shop truck's toolbox. It bounces around with the monkey wrenches and chains and stuff. He cleans it with brake cleaner and lubes it with motor oil. It looks like hell boiled over and stuck on a stick. It goes bang everytime he pulls the trigger.
.40S&W is a tough round to start out shooting centerfire with. The recoil is sharp and snappy. I would recommend 9mm, or if a revolver suits you, .38spl. You will be much less frustrated.
The best way to buy quality on a budget is to buy used. This is where knowing your market and how to judge a gun's condition pays off. There are many links on the web and threads on this forum to assist you. Just ask and the links will be posted.
Finally, I, too, think a .357 or .38 revolver would be the perfect next gun. If you buy used and shop wisely, you can get a good S&W that will not depreciate. If you go .357magnum, you can shoot both .357 and .38spl from it. If the grips don't fit your hand, you can change them to some that do. Many new shooters discount the old S&W wheelguns. Many old shooters are buying them up like crazy. Think about that............