If you apply before your Student visa ends, you can keep working. Just make sure you follow your visa's work rules.