Added rate this app code and tested the DB update