Changed the formula for calculating the reward. Changed the formula for
showing available amount on admin.