Why don't you just use a soft button instead of hard physical buttons. Easy work around.
Its available in the accessability of the phone's settings.
Search youtube using this phrase - I cant post links
Samsung Galaxy S4 FREE Broken Button Workaround! NO APP!
Easy - hope it helps in the...