You should take advantage of Apple’s customer service – since it’s a 5 it is no doubt still under warranty. In a few more months, it won’t be. Back up your phone then wipe it, go into an Apple store, show them the malfunctioning button, and they’ll hand you another 5.